package com.logistics.system.domain;

import java.math.BigDecimal;
import com.logistics.common.core.annotation.Excel;
import com.logistics.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 通知公告对象 bank_card
 * 
 * @author logistics
 * @date 2024-06-25
 */
public class BankCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银行卡id */
    private Long cardId;

    /** 银行卡所属人id */
    @Excel(name = "银行卡所属人id")
    private Long userId;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankDeposit;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String cardNo;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    public void setCardId(Long cardId) 
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBankDeposit(String bankDeposit) 
    {
        this.bankDeposit = bankDeposit;
    }

    public String getBankDeposit() 
    {
        return bankDeposit;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("userId", getUserId())
            .append("bankDeposit", getBankDeposit())
            .append("cardNo", getCardNo())
            .append("balance", getBalance())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
